package com.yedean.factory.utils;

/**
 * ClassUtils
 *
 * @author yedean
 * @date 2022/7/15
 */
public class ClassUtils {
    
    public static boolean isCglibProxyClass(Class<?> clazz){
        return (clazz != null && isCglibProxyClassName(clazz.getName()));
    }
    
    
    public static boolean isCglibProxyClassName(String className){
        return (className != null && className.contains("$$"));
    }
}
